package com.sumainfor.pc.gmio.controller.director;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.gmio.service.DiRepairService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 *维修跟踪
 */
@RestController
@RequestMapping("/director/Repair")
public class DiRepairController implements Serializable {
    @Autowired
    private DiRepairService diRepairService;
    /**
     * 维修跟踪 待受理
     * @param params
     * @param pager
     * @return
     */
/*    @GetMapping("/getRepairListd")
    public JsonResult getRepairListd(@RequestParam Map<String,Object> params, Pager pager){
        JsonResult result=new JsonResult();
        System.out.println("params:"+params);
        return  diRepairService.getRepairListd(params,pager);
    }*/
    /**
     * 维修跟踪    已受理
     * @param params
     * @param pager
     * @return
     */
   /* @GetMapping("/getRepairListy")
    public JsonResult getRepairListy(@RequestParam Map<String,Object> params, Pager pager){
        JsonResult result=new JsonResult();
        System.out.println("params:"+params);
        return  diRepairService.getRepairListy(params,pager);
    }*/
    /**
     * 维修跟踪    已维修
     * @param params
     * @param pager
     * @return
     */
   /* @GetMapping("/getRepairListw")
    public JsonResult getRepairListw(@RequestParam Map<String,Object> params, Pager pager){
        JsonResult result=new JsonResult();
        System.out.println("params:"+params);
        return  diRepairService.getRepairListw(params,pager);
    }*/

}
